package com.its.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 工作人员信息表
 * </p>
 *
 * @author 朱厚强
 * @since 2023年12月27日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_working_personnel")
@ApiModel(value = "WorkingPersonnel对象", description = "工作人员信息表")
public class WorkingPersonnel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("工作人员姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty("所属分公司ID")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty("所属分公司对象")
    @TableField(exist = false)
    private HupCompany company;

    @ApiModelProperty("职位ID")
    @TableField("position_id")
    private Integer positionId;

    @ApiModelProperty("联系电话")
    @TableField("contact_number")
    private String contactNumber;

    @ApiModelProperty("邮箱")
    @TableField("email")
    private String email;

    @ApiModelProperty("地址")
    @TableField("address")
    private String address;

    @ApiModelProperty("员工是否存在 0为存在 1为不存在")
    @TableField("is_work")
    private int isWork;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;


}
